﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZP.DTO.Common
{
    [Serializable]
    public class ResultData<T> : PagingDTO
    {
        public ResultData()
        {
            SubmitResult = false;
        }
        /// <summary>
        /// 异常信息
        /// </summary>
        public Exception Exception { get; set; }
        /// <summary>
        /// true:正确 
        /// false:错误
        /// </summary>
        public bool SubmitResult { get; set; }
        /// <summary>
        /// 返回信息
        /// </summary>
        public string Message { get; set; }
        /// <summary>
        /// 返回的数据
        /// </summary>
        public T Object { get; set; }
    }
}
